package com.ibeeking.found.open.service.common.param;

import com.ibeeking.found.common.enums.qr.QrSceneEnum;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @ClassName QrCreateParam
 * @Description
 * @Author ibeeking06
 * @Date 2021-01-25 14:45
 **/
@Data
public class QrCreateParam implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 场景编码
     */
    @NotNull(message = "场景编码不能为空")
    private QrSceneEnum sceneCode;

    /**
     * 来源
     */
    @NotBlank(message = "来源不能为空")
    private String source;
}
